#ifndef MANAGE_RECORDINFO_H
#define MANAGE_RECORDINFO_H

#include <QWidget>
#include <QFile>
#include <QMessageBox>
#include <QTextStream>
#include <QStandardItemModel>
#include <QCoreApplication>
#include <QDebug>

namespace Ui {
class manage_recordinfo;
}

class manage_recordinfo : public QWidget
{
    Q_OBJECT

public:
    explicit manage_recordinfo(QWidget *parent = nullptr);
    ~manage_recordinfo();

public slots:
    /* 管理员界面关闭，清空所有信息 */
    void clearAll();

private slots:
    /* 点击查询借阅记录按钮 */
    void on_findBtn_clicked();

private:
    /* 创建模型 */
    void createModel();

    /* 清空表格数据 */
    void clearView();

private:
    Ui::manage_recordinfo *ui;

    QStandardItemModel *model;

    QString appDir;
};

#endif // MANAGE_RECORDINFO_H
